import request from '../utils/request';

// 注册
export const registerApi = body => request('/students/register', {
    method: 'post',
    body
})

// 登录
export const loginApi = body => request('/students/login', {
    method: 'post',
    body
})

// 获取当前登录的学生的信息
export const getStuInfoApi = () => request('/students/getStuInfo')